Skip to content

add subgroup analysis to hillstrom#101

Merged
TomeHirata merged 4 commits into
CyberAgentAILab:mainfrom
yasui-salmon:feat/tutorials/hillstrom
Apr 27, 2026
Merged

add subgroup analysis to hillstrom#101
TomeHirata merged 4 commits into
CyberAgentAILab:mainfrom
yasui-salmon:feat/tutorials/hillstrom

Conversation

@yasui-salmon

Copy link
Copy Markdown
Contributor

Add subgroup analysis to hillstrom tutorial.

Copilot AI review requested due to automatic review settings April 20, 2026 11:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Subgroup Analysis by Purchase History” section to the Hillstrom tutorial to illustrate heterogeneous campaign effects by prior purchase category, along with supporting visualization assets.

Changes:

  • Introduces subgroup definitions based on mens/womens purchase history and computes subgroup ATE/DTE/PTE comparisons.
  • Adds narrative interpretation and new plots for subgroup DTE/PTE results.
  • Adds a static image asset used by the new tutorial section.

Reviewed changes

Copilot reviewed 1 out of 6 changed files in this pull request and generated 4 comments.

File Description
docs/source/tutorials/hillstrom.rst Adds subgroup ATE/DTE/PTE walkthrough and embeds subgroup plot images.
docs/source/_static/hillstorm_subgroup_women_pte.png Adds the subgroup PTE plot image referenced by the tutorial.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/tutorials/hillstrom.rst
Comment thread docs/source/tutorials/hillstrom.rst
Comment thread docs/source/tutorials/hillstrom.rst
Comment thread docs/source/tutorials/hillstrom.rst Outdated
Comment thread example/hillstrom.ipynb
@@ -0,0 +1,783 @@
{

@TomeHirata TomeHirata Apr 22, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a typo in the filename, can we rename this to hillstorm.ipynb?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! The current name hillstrom.ipynb is actually correct.
https://blog.minethatdata.com/2008/03/minethatdata-e-mail-analytics-and-data.html

TomeHirata
TomeHirata previously approved these changes Apr 22, 2026

@TomeHirata TomeHirata left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once comments are addressed!

@yasui-salmon

Copy link
Copy Markdown
Contributor Author

Thanks for the comments! I’ve taken care of most of them.

@TomeHirata TomeHirata merged commit a4c6eff into CyberAgentAILab:main Apr 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants